home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group95b.txt / 000052_icon-group-sender _Sun Jun 18 18:11:42 1995.msg < prev    next >
Internet Message Format  |  1995-09-18  |  3KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 19 Jun 1995 09:03:03 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: Sun, 18 Jun 1995 18:11:42 GMT
  4. From: goer@quads.uchicago.edu (Richard L. Goerwitz)
  5. Message-Id: <DADrvI.MrJ@midway.uchicago.edu>
  6. Organization: The University of Chicago
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <1995Jun16.172604.22642@leeds.ac.uk>, <1995Jun17.174319.29735@nmt.edu>, <3s1fij$7r9@pipe.pipex.net>
  9. Reply-To: goer@midway.uchicago.edu
  10. Subject: Re: Perl v. Icon
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. In article <3s1fij$7r9@pipe.pipex.net>, Ian Phillipps <ian@pipex.net>
  14. wrote:
  15. >
  16. >With Perl 4 and earlier, the weak point was, as John implies, data
  17. >structures, although the split and join operators provided quite
  18. >convenient workarounds.
  19.  
  20. Really, there's no question that Perl has much, much better integra-
  21. tion with the OS then Icon.  And interfaces exist between it and all
  22. the major databases, etc.  Perl is also being very actively worked on.
  23. As far as I know, development work on Icon has officially ceased, and
  24. all we will see are, perhaps, a few additional ports.  Refinements to
  25. the windowing system will probably go on for a few years, too.
  26.  
  27. >PPP    Regular expressions. This is the biggie as far as I'm concerned.
  28. >    The sort of job where you're trying to parse incoming data which
  29. >    has a slightly unknown syntax.  By comparison, the Icon method
  30. >    of lots of operators to scan across a string is seriously
  31. >    clunky.
  32.  
  33. There is truth here.  For certain jobs, regexps are much terser and
  34. and more expressive than Icon's string scanning.  But then, on the
  35. other hand, Icon's string scanning is much, much more powerful than
  36. regexps.  There would have been absolutely no sense in adding reg-
  37. exps to the core language definition when they can only deal with a
  38. small subset of the grammars scanning can handle.
  39.  
  40. It's just two very different approaches to language design.  The
  41. bottom line is that Icon is much more flexible, powerful, and ele-
  42. gant for certain types of things.  Perl is much terser, more lucid,
  43. and more convenient for others.
  44.  
  45. >?    Syntax. I don't agree that Perl syntax is ugly, at least no more
  46. >    than any other computer language.
  47.  
  48. What syntax?  Perl was specifically designed to feel comfortable to
  49. people accustomed to using a mishmash of sed, awk, sh, and C.  There
  50. has been some attempt at streamlining its grammar(s).  But there is,
  51. and never will be, any comparison between Icon and Perl along these
  52. lines.  Icon is just much, much cleaner.
  53.  
  54. >P    Support.
  55.  
  56. The Icon community is small and "researchy."  There's no comparing it
  57. with the Perl community, which is just much larger and more responsive
  58. to a larger range of questions and needs.
  59.  
  60. >>The input is a list of skills (C++, hardware repair, etc.),
  61. >>structured as a three-level hierarchy (major category, minor
  62. >>category, and skill name), with each skill followed by a list
  63. >>of people who have that skill, and a rating of B for beginner,
  64. >>I for intermediate, and E for expert.
  65. >
  66. >Hmm.. I'd give this project around 2-3 days in perl, at the most.
  67.  
  68. Bet it would take less time than this.  But I don't see how Perl
  69. would be any better than Icon here.  The question is what language
  70. you see as remaining workable over the long haul.  Presumably this
  71. isn't the last project you'll be doing!
  72.  
  73. -- 
  74.  
  75.    Richard L. Goerwitz     ***      goer@midway.uchicago.edu
  76.